package com.lemon.tuvi2015.object;

import java.io.Serializable;

import android.util.Log;

public class GlobalObject implements Serializable{
	String tag=GlobalObject.class.getName();
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String NAME;
	private String IMAGE;
	private int IMAGEres;
	private String ID;
	private String CONTENT;
	private String CODE;
	public GlobalObject() {
	}
	public GlobalObject(String ID,String NAME,String IMAGE,String CONTENT) {
		this.ID=ID;
		this.NAME=NAME;
		this.IMAGE=IMAGE;
		this.CONTENT=CONTENT;
	}
	public GlobalObject(String ID,String NAME,int IMAGEres,String CONTENT) {
		this.ID=ID;
		this.NAME=NAME;
		this.IMAGEres=IMAGEres;
		this.CONTENT=CONTENT;
	}
	public void setCODE(String CODE){
		this.CODE=CODE;
	}
	public String getCODE(){
		return this.CODE;
	}
	
	public void setNAME(String NAME){
		this.NAME=NAME;
	}
	public String getNAME(){
		return this.NAME;
	}
	
	public void setIMAGEres(int IMAGE){
		this.IMAGEres=IMAGE;
	}
	public int getIMAGEres(){
		return this.IMAGEres;
	}
	
	public void setIMAGE(String IMAGE){
		this.IMAGE=IMAGE;
	}
	public String getIMAGE(){
		return this.IMAGE;
	}
	
	public void setID(String ID){
		this.ID=ID;
	}
	public String getID(){
		return this.ID;
	}
	
	public void setContent(String content){
		this.CONTENT=content;
	}
	public String getContent(){
		return this.CONTENT;
	}
	
	public void showinfo(){
		Log.i(tag,"ID: "+getID());
		Log.i(tag,"NAME: "+getNAME());
		Log.i(tag,"IMAGE: "+getIMAGE());
		Log.i(tag,"CONTENT: "+getContent());
	}
}
